<%--
  Created by IntelliJ IDEA.
  User: 霍帅
  Date: 2019/6/13
  Time: 14:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>登录</title>
    <style type="text/css">
        html,body{height:100%;}
        /*canvas开始*/
        #canvas {position: absolute;z-index: -1;display: block;}
        /*canvas结束*/
        #login {
            width: 400px;
            height: 320px;
            background: #fff;
            position: absolute; /*绝对定位*/
            margin:auto;
            top:0px;
            left:0px;
            right:0px;
            bottom:0px;
            box-shadow: 0px 0px 10px #666;
            border-radius: 4px; /*圆角*/
        }
        .well{background-color: #062A36;}
        h2{font-family:"微软雅黑";font-size:24px;color:#B94846;margin-bottom:28px;}
        #loginForm{color:#fff}
    </style>
</head>
<body style = "border-radius: 10px;background-size:100% 100% ">
<div class="row" id="login" >
    <div class="well col-md-12 center">
        <div class="title" style="padding: 5px;text-align:center;">
            <h2>登录系统</h2>
        </div>
        <div id="messageBoxLogin" class="alert alert-error ${empty loginFlag ? 'hide' :''} ">
            <label id="loginFlag" class="error">${loginFlag}</label>
        </div>
        <form id="loginForm"  action="login" method="post">
            <label class="input-label" for="loginName">登录名</label>
            <input type="text" id="loginName" name="loginName"  value="">
            <br>
            <label class="input-label" for="password">密码</label>
            <input type="password" id="password" name="password" >
            <br>
            <input class="btn  btn-primary" type="submit" value="登 录" />&nbsp;&nbsp;
            <input class="btn  btn-primary" type="submit" formaction="gotoRegister" value="注 册" />&nbsp;&nbsp;
        </form>
    </div>
</div>
</body>
</html>
